package main
import "fmt"
func main(){
	fun(456)
}

func fun(number int){
	if number == 0{
		return
	}
	
	fun(number / 10)
	fmt.Printf("%d ",number % 10)
}